package com.task.core.service;

import java.util.List;

import com.task.common.domain.info.KeyAndValue;
import com.task.core.domain.PluginPlatformInfo;
import com.task.core.dto.request.PluginPlatformRequestDTO;

/**
 * @author 迪迦.
 * @date 2024/11/4 17:28
 */
public interface PluginPlatformService {

  List<PluginPlatformInfo> getPluginPlatformByPage(PluginPlatformRequestDTO request);

  List<KeyAndValue> getPluginPlatformForOption(PluginPlatformRequestDTO request);

  void addPluginPlatform(PluginPlatformRequestDTO request);

  void modifyPluginPlatform(PluginPlatformRequestDTO request);

  void deletePluginPlatform(String pluginPlatformCode, Long userId);

    PluginPlatformInfo getPluginPlatformById(String pluginPlatformCode);
}
